package com.alks.function.data.dto.produce;

import com.alks.entity.data.i18n.TranslateFieldSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDate;

@Getter
@Setter
@NoArgsConstructor
@ToString
public class PcCuttingDispatchHeadDto {

    @ApiModelProperty("生产日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate dispatchDate;

    @ApiModelProperty("指令")
    private String lotNo;

    @ApiModelProperty("型体")
    private String style;

    @ApiModelProperty("部位")
    @JsonSerialize(using = TranslateFieldSerializer.class)
    private String partName;

    @ApiModelProperty("材料名称")
    private String mtlName;

    @ApiModelProperty("冲工")
    private String workerName;

    @ApiModelProperty("开始轮数")
    private Integer lsNo;

    @ApiModelProperty("截至轮数")
    private Integer lsNo2;

    @ApiModelProperty("派工数量")
    private String dispatchQty;

    @ApiModelProperty("刀数")
    private Integer cutNum;

    @ApiModelProperty("派工单号")
    private String planNo;

    @ApiModelProperty("派工员")
    private String dispatchCnName;

    @ApiModelProperty("派工单打印")
    private String printFlag;

    @ApiModelProperty("轮次标签打印")
    private String printLabelFlag;

    @ApiModelProperty("财务审核")
    private String salaryFlag;
}
